<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>客户信息</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="../../layui-v2.6.8/layui/css/layui.css">
    <script type  ="text/javascript" src="../../layui-v2.6.8/layui/layui.js"></script>

</head>
<body>


<fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
    <legend>合计</legend>
</fieldset>
<form class="layui-form" action="">
    <div class="layui-form-item">
        <div class="layui-inline">
        </div>
    </div>

    <table class="layui-hide" id="customer" lay-filter="operation"></table>


<!--    <div class="layui-form-item">-->
<!--        <div class="layui-input-block">-->
<!--            <button class="layui-btn" type="submit" onclick="" >合计</button>-->
<!--            &lt;!&ndash;            <button type="reset" class="layui-btn layui-btn-primary">重置</button>&ndash;&gt;-->
<!--        </div>-->
<!--    </div>-->



</form>
<script src="../layui-v2.6.8/layui/layui.js"></script>
<script type="text/javascript">
    var table = layui.table;

    layui.use(['table'],function () {
        table.render({
            elem: '#customer',
            url: 'http://localhost:8080/integ',
            // toolbar: '#toolbarDemo',
            // defaultToolbar: ['filter', 'exports', 'print'],
            // page: true,
            cols: [[
                {type: 'checkbox', fixed: 'left'}
                ,{field: 'proid', title: 'ID',fixed: 'left', sort: true}
                // , {field: 'pro_mid', title: '车辆费用'}
                // , {field: 'pro_eidsal', title: '员工费用'}
                // , {field: 'pro_comid', title: '赔偿款'}
                // , {field: 'income', title: '总收入'}
                // , {field: 'outpay', title: '总支出'}
                // , {field: 'profit', title: '利润'}
                , {field: 'pr', title: '利润'}

                // , {field: 'pro_eid', title: '财务管理人员'}
            ]],

        });
    })
</script>